package com.share.example.selenium.web;

import com.share.common.common.Result;
import com.share.example.selenium.service.hzhc.hm.HcxxHmLoginService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
@RequestMapping("/hzhc/hm")
public class HzhcHmController {

    @Autowired
    private HcxxHmLoginService hcxxHmLoginService;

    @RequestMapping("/fix/login/form")
    public Result fixLoginform(String account, String password) {
        return Result.success(hcxxHmLoginService.fixLoginform(account, password));
    }
}
